package com.atguigu.ddmail;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@EnableCaching      //开启缓存功能
@EnableDiscoveryClient
@MapperScan("com.atguigu.ddmail.product.dao")

@SpringBootApplication
public class DdmailProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(DdmailProductApplication.class, args);
    }

}
